package com.omar.labs.tamtamy.JSON;

import com.omar.labs.tamtamy.TagDetail;

public class JSONTagDetail extends TagDetail{
	
	public JSONTagDetail(){
		super();
	}
	
	public JSONTagDetail(String json){
		super();
		tag = JSONUtility.getNodeValue(json, "\"tag\"");
		count = Integer.parseInt(JSONUtility.getNodeValue(json, "\"count\""));
		contentsid = JSONUtility.getNodeValueWithList(json, "\"contents\"");
	}

}
